package com.nisco.dms.entity;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name="Ds_Program")
public class Program extends CoreEntity
{
	@Column
	private String strSn;
	@Column
	private String strName;
	@Column
	private String strUrl;
	@Column
	private String strDesc;
	@Column
	private Integer intPriority = 99;
	@OneToMany(mappedBy="program")
	private List<Menu> menuList=new ArrayList<Menu>();

	public String getStrSn()
	{
		return strSn;
	}

	public void setStrSn(String strSn)
	{
		this.strSn = strSn;
	}

	public String getStrName()
	{
		return strName;
	}

	public void setStrName(String strName)
	{
		this.strName = strName;
	}

	public String getStrUrl()
	{
		return strUrl;
	}

	public void setStrUrl(String strUrl)
	{
		this.strUrl = strUrl;
	}

	public String getStrDesc()
	{
		return strDesc;
	}

	public void setStrDesc(String strDesc)
	{
		this.strDesc = strDesc;
	}
	
	

	public Integer getIntPriority()
	{
		return intPriority;
	}

	public void setIntPriority(Integer intPriority)
	{
		this.intPriority = intPriority;
	}

	public List<Menu> getMenuList()
	{
		return menuList;
	}

	public void setMenuList(List<Menu> menuList)
	{
		this.menuList = menuList;
	}

	
	
	
	
	

}
